// import { post } from './http'
import { get, post } from './http'
import { baseUrl_java, baseUrl_php } from './config'

// 酒店推荐
export const _apiGetHotelRecommend = params => post({ url: `${baseUrl_php}/v1/hotel/recommend-list`, data: { data: params } })
// 轮播图
export const _apiGetBannerList = params => get({ url: `${baseUrl_java}/ykly-app/banner/getBannerList`, data: params })
// 酒店每日推荐
export const _apiGetRecommendChoice = params => post({ url: `${baseUrl_php}/v1/hotel/recommend-choice`, data: { data: params } })
// 酒店推荐酒店
export const _apiGetRecommendList = params => post({ url: `${baseUrl_php}/v1/hotel/recommend-list`, data: { data: params } })
// 酒店推荐酒店
export const _apiGetCityList = params => post({ url: `${baseUrl_php}/index/get-city-list`, data: { data: params } })
